package com.tedu.mybatis.mapper;

import com.tedu.mybatis.pojo.User;
import com.tedu.mybatis.pojo.UserVO1;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
//    @Insert("INSERT INTO user(username,password,nickname,created)"+
//            "VALUES(#{username},#{password},#{nickname},#{created})")
    int insert(User user);

    UserVO1 selectUserAndWeibo(Integer id);
}
